package cn.iocoder.yudao.module.design.controller.admin.problemdealerrel.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 问题处理人关联 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class ProblemDealerRelBaseVO {

    @Schema(description = "处理人编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "27612")
    @NotNull(message = "处理人编号不能为空")
    private Long userId;

    @Schema(description = "问题id", requiredMode = Schema.RequiredMode.REQUIRED, example = "32316")
    @NotNull(message = "问题id不能为空")
    private Long problemId;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "状态不能为空")
    private String statusCd;

    @Schema(description = "备注")
    private String remark;

}
